BaseObject* GetMeshInterface (void)
Returns
the polygon object this volume is generated from.
Matrix GetMg (void)
Returns
the global Matrix of the internal effex mesh. The matrix is always given in physical space.
This is not necessarily the same as the matrix of the cinema 4d polygon object as it may be an interpolated state.
void GetMotion (const vector3d& physical_position, vector3d& linear, vector3d& angular)
This lets you retrieve the motion data of the internal effex mesh at a specific point in space.
Parameters
const vector3d& physical_position:
The physical position to get the motion data for.
vector3d& linear:
Filled with the translational velocity since the last substep
vector3d& angular:
Filled with the angular velocity since the last substep
static long GetTriangleCount (const FXVolumeMesh* meshvolume)
This is a global function.
Returns
the amount of triangles in the passed mesh volume's mesh.
This is not necessarily the same as the polygon count of the original cinema 4d polygon object.
Parameters
const FXVolumeMesh* meshvolume:
The mesh volume to retrieve the triangle count from
static long GetVertexCount (const FXVolumeMesh* meshvolume)
This is a global function.
Returns
the amount of vertices in the passed mesh volume's mesh.
Parameters
const FXVolumeMesh* meshvolume:
The mesh volume to retrieve the vertices count from
static bool HasUVdata (const FXVolumeMesh* meshvolume)
This is a global function.
Returns
true if the passed mesh volume's mesh contains uv data.
Parameters
const FXVolumeMesh* meshvolume:
The mesh volume to check for uv data